package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据统计对象 sys_data_board
 * 
 * @author ruoyi
 * @date 2024-10-09
 */
public class SysDataBoard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long dataId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 室内温度 */
    @Excel(name = "室内温度")
    private BigDecimal temparatureIn;

    /** 室外温度 */
    @Excel(name = "室外温度")
    private BigDecimal temparatureOut;

    /** 平米暖功率 */
    @Excel(name = "平米暖功率")
    private BigDecimal heatPower;

    /** 数据日期 */
    @JsonFormat(pattern = "MM月dd日HH时")
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd HH")
    private Date inDate;

    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setTemparatureIn(BigDecimal temparatureIn) 
    {
        this.temparatureIn = temparatureIn;
    }

    public BigDecimal getTemparatureIn() 
    {
        return temparatureIn;
    }
    public void setTemparatureOut(BigDecimal temparatureOut) 
    {
        this.temparatureOut = temparatureOut;
    }

    public BigDecimal getTemparatureOut() 
    {
        return temparatureOut;
    }
    public void setHeatPower(BigDecimal heatPower) 
    {
        this.heatPower = heatPower;
    }

    public BigDecimal getHeatPower() 
    {
        return heatPower;
    }
    public void setInDate(Date inDate) 
    {
        this.inDate = inDate;
    }

    public Date getInDate() 
    {
        return inDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("deptId", getDeptId())
            .append("temparatureIn", getTemparatureIn())
            .append("temparatureOut", getTemparatureOut())
            .append("heatPower", getHeatPower())
            .append("inDate", getInDate())
            .toString();
    }
}
